package public

import (
	"dc-go/global"
	"dc-go/model"
)

type ServiceDict struct{}

func (s *ServiceDict) GetDictAll() (err error, dict []model.SysDict) {
	var dictList []model.SysDict
	err = global.DcDb.Find(&dictList).Error
	return err, dictList
}
